import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity("apartment_transport", { schema: "cbox" })
export class ApartmentTransport {
  @PrimaryGeneratedColumn({ type: "int", name: "id", unsigned: true })
  id: number;

  @Column("int", { name: "apartment_address_id", unsigned: true })
  apartmentAddressId: number;

  @Column("varchar", { name: "name", length: 32 })
  name: string;

  @Column("varchar", { name: "type", length: 16 })
  type: string;
}
